package ApplicationLogic.modelPersistence;

import java.util.List;

import businessLogic.model.AbstractModel;


public interface IDAOTEMPLATE {

	public abstract void createModel(AbstractModel c) throws Exception;

	public abstract void deleteModel(int id, Class tipo) throws Exception;

	public abstract void updateModel(AbstractModel c) throws Exception;

	public abstract List<AbstractModel> listModelByType(String tipo, int paging);

	public abstract AbstractModel getModelById(int id, Class tipo);

	public abstract List<AbstractModel> searchObject(String SearchCriteria, int paging);

}